import React from 'react';
import { hashHistory } from 'react-router'
import './index.less';
import PropTypes from 'prop-types';
import {Toast,Modal,Badge,Icon, List} from 'antd-mobile';
import FootTabBar from 'COMPONENT/FootTabBar';
import CommonHeader from 'COMPONENT/CommonHeader';

export default class HmdMain extends React.Component {
    static contextTypes = {
        router: PropTypes.object.isRequired
    }
    constructor(props) {
        super(props);
        
        
        
        this.state = {
          
        }
    }

    componentWillMount() {
        
        

    }
    
	jumpToAccountSecret = () => {
		native.call({
        	'fun':'openAccountList'
    	})
	}
	
    render() {
        //let {} = this.state;
        
       
        return(
            <div>

				<CommonHeader 
					name='信用贷'
					leftContentTitle="@back" 
					leftContent='返回'				
				/>
				<div style={{height:'.9rem'}}></div>
                <div className= 'infomation' style={{padding:'0'}}>
                    <div className= 'headInfo'>
                        <img src="./imgs/avatar_men.png" className='modifyHead' />
                       <span>姓名: 李某</span>
                    </div>
                    <div className='personalInfo'>
                    <div className= 'personalInfo-list' >
                        <div>
                            头像管理
                        </div>
                        <div >
                            用户信息
                            <Icon type="right" className="personal-icon" />
                        </div>
                        <div>我的资产  </div>
                        <div >
                            账单查询 
                        </div>
                       

                        <div id="accountSecret" >账户安全</div>
                        <div >
                            帮助中心
                            <Icon type="right" className="personal-icon" />
                        </div>
                       
                        
                    </div>
                    

                </div>
                </div>

            </div>
        );
    }
}